package com.rico.deploy.service;

import com.rico.deploy.entity.Campus;
import com.rico.deploy.entity.Course;

import java.util.List;

/**
 * @author 夏智力
 * @FileName CourseService
 * @date 2021/5/2 17:30
 * @Software: IntelliJ IDEA
 */
public interface CourseService {

    List<Course> selectAll();

    List<Course> selectAll(Integer page,Integer limit);

    List<Course> selectAll(Integer page,Integer limit,String keyword);

    Course selectById(Integer id);

    int insertCourse(Course course);

    int deleteCourseById(Integer id);

    int updateCourse(Course course);
}
